package com.wxzz.elearing.evaluation.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class ExportTopicVo {

    @Excel(name = "id(禁止编辑)", width = 30)
    private Long id;

    @Excel(name = "题目名称", width = 30)
    @ApiModelProperty(value = "题目名称")
    private String topicName;

    @Excel(name = "限制选择个数", width = 30)
    @ApiModelProperty(value = "限制选择个数")
    private Integer chooseNum;

    @ExcelCollection(name = "章节测评题答案")
    @TableField(exist = false)
    @ApiModelProperty(value = "章节测评题答案")
    private List<ExportTopicAnswerVo> exportTopicAnswerVos;
}
